<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta
      name="keywords"
      content="网上购物,网上商城,手机,笔记本,电脑,MP3 ,CD , VCD,DV,相机,数码,配件,手表,存储卡,品优购"
    />
    <meta name="description" content="品优购-专业的综合网上购物商城" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <title>品优购-综合网购首选-正品低价、品质保障、配送及时、轻松购物</title>
    <link rel="shortcut icon" href="./img/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="css/reset.css" />
    <link rel="stylesheet" type="text/css" href="./font/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/common.css" />
    <link rel="stylesheet" type="text/css" href="css/header.css" />
    <link rel="stylesheet" type="text/css" href="css/footer.css" />
    <link rel="stylesheet" type="text/css" href="css/category.css" />
    <link rel="stylesheet" type="text/css" href="css/cart.css" />
  </head>
  <body>
    <script src="js/header.js" type="text/javascript" charset="utf-8"></script>
    <main class="center">
      <h3>全部商品 3</h3>
      <ul class="sort">
        <li><input type="checkbox" name="" id="" value="" /> 全部</li>
        <li>商品</li>
        <li>单价（元）</li>
        <li>数量</li>
        <li>小计（元）</li>
        <li>操作</li>
      </ul>
      <div class="goods">
        <div class="name">
          <input type="checkbox" name="" id="" value="" />
          <img src="img/addcart/3.png" />
          <p>HUAWEI MatePad 5G 10.4英寸颜色:夜阑灰 版本:WIFI 6GB+128GB</p>
          <h4>2299.00</h4>
          <div class="count">
            <a href="#" class="reduce">-</a>
            <input type="text" value="1" />
            <a href="#" class="addition">+</a>
          </div>
          <h4 id="total">2299</h4>
          <a href="#" class="delete">删除</a>
        </div>
      </div>
      <div class="pay">
        <div class="contain fl">
          <input type="checkbox" name="" id="" value="" /> 全选
          <div class="r fr">
            <p>已选择1件商品</p>
            <p>总价:<span>$22393</span></p>
          </div>
        </div>
        <a href="#">结算</a>
      </div>
    </main>
    <script src="js/footer.js" type="text/javascript" charset="utf-8"></script>
  </body>
  <script>
    $(document).ready(() =>{
      let username= sessionStorage.getItem('username');
      if(!username){
        location.href = './login.html'
      }
    })
  </script>
  <!-- js文件或代码尽量放在body后面 -->
  <script src="./js/jquery.js" type="text/javascript"></script>
</html>
